package com.omar.labs.tamtamy;

public class Group {

	/*
	<it.reply.tt.rest.entity.KcLGroup>
      <id>GROUP_ID</id>
      <name>GROUP_NAME</name>
      <description>GROUP_DESCRIPTION</description>
      <creator>GROUP_CREATOR</creator>
      <created class="sql-timestamp">CREATION_DATE</created>
      <network>NETWORK</network>
      <contentCounter>NUMBER_OF_GROUP_CONTENT</contentCounter>
      <userCounter>NUMBER_OF_GROUP_USER</userCounter>
    </it.reply.tt.rest.entity.KcLGroup>
	 */
	
	public long id;
	public String name;
	public String description;
	public String creator;
	public String created;
	public String network;
	public long contentCounter;
	public long userCounter;
	
	public Group() {
		super();
		this.id = 0;
		this.name = null;
		this.description = null;
		this.creator = null;
		this.created = null;
		this.network = null;
		this.contentCounter = 0;
		this.userCounter = 0;
	}
	
	public Group(long id, String name, String description, String creator,
			String created, String network, long contentCounter,
			long userCounter) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.creator = creator;
		this.created = created;
		this.network = network;
		this.contentCounter = contentCounter;
		this.userCounter = userCounter;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getCreated() {
		return created;
	}

	public void setCreated(String created) {
		this.created = created;
	}

	public String getNetwork() {
		return network;
	}

	public void setNetwork(String network) {
		this.network = network;
	}

	public long getContentCounter() {
		return contentCounter;
	}

	public void setContentCounter(long contentCounter) {
		this.contentCounter = contentCounter;
	}

	public long getUserCounter() {
		return userCounter;
	}

	public void setUserCounter(long userCounter) {
		this.userCounter = userCounter;
	}
	
	public void print(){
		System.out.println(" == Group ==");
		System.out.println("id: " + this.id);
		System.out.println("name: " + this.name);
		System.out.println("description: " + this.description);
		System.out.println("creator: " + this.creator);
		System.out.println("created: " + this.created);
		System.out.println("network: " + this.network);
		System.out.println("contentCounter: " + this.contentCounter);
		System.out.println("userCounter: " + this.userCounter);
	}
	
	
	
}
